package ltk.servlet;

import hezi.common.HZLog;
import hezi.common.HZLogger;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.velocity.Template;

public class LogServlet extends BaseServlet {
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		super.doGet(request, response);
		Template t = ve.getTemplate("log.html");
		String id=request.getParameter("id");
		context.put("items", HZLogger.select(id));
		writeout(t);
	}
}
